pull: Drop usage of 2.36 symbol
authorColin Walters <walters@verbum.org>
Fri, 13 Sep 2013 20:45:43 +0000 (16:45 -0400)
committerColin Walters <walters@verbum.org>
Fri, 13 Sep 2013 20:45:43 +0000 (16:45 -0400)
Really need deprecation warnings while using RHEL6.4...maybe Software
Collections will save me.

src/libostree/ostree-repo-pull.c

index ca9b017c83ee3a64a40ff8b542f5e30d12d36930..306bfe99a712cc77a3808181a61c9e8ea577d2a0 100644 (file)
@@ -370,7 +370,7 @@ fetch_uri_contents_utf8_sync (OtPullData  *pull_data,
   if (!fetch_data.result_stream)
     goto out;
 
-  buf = (GMemoryOutputStream*)g_memory_output_stream_new_resizable ();
+  buf = (GMemoryOutputStream*)g_memory_output_stream_new (NULL, 0, g_realloc, g_free);
   if (g_output_stream_splice ((GOutputStream*)buf, fetch_data.result_stream,
                               G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE,
                               cancellable, error) < 0)